package club.babyf.oss.service;

import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;

/**
 * OSSService.
 *
 * @author zhanglei.
 * @date 2024/12/31 15:42.
 * @description 对象存储服务.
 */
public interface OSSService {

    String upload(MultipartFile multipartFile);

    String upload(String objectName, InputStream inputStream);

    Boolean delete(String url);

}
